﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<link href="css/main.css" rel="stylesheet" type="text/css" />
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<link href="css/user.css" rel="stylesheet" type="text/css" />
		<title>我的购物车</title>
	</head>

	<body>
		<div align="center">
			<table border="0" cellpadding="0" cellspacing="0" width="910">
				<tbody>
					<tr>
						<td width="100%"></td>
					</tr>
				</tbody>
			</table>
		</div>
		<div id="layout">
			<!-- 页面头部 -->
			<%@ include file="/WEB-INF/common/header/header.jsp"%>
			<div id="user_main">
				<!-- 用户左边导航区 -->
				<%@ include file="/WEB-INF/jsp/user/user_common/user_left_nav.jsp"%>

				<div id="user_main_right">
					<div id="user_left_top">
						当前位置:个人中心 &gt;&gt;
						<a href="">我的购物车</a>
					</div>

					<div id="user_gwc_title">
						我的购物车
						<div id="user_gwc_total">
							购物车状态：
							<s:property value="gwcNumber" />
							/10&nbsp;&nbsp;
						</div>
					</div>

					<div id="gwc">
						<table width="693" border="0" cellpadding="0" cellspacing="0"
							class="user_gwc_info">
							<tr>
								<td width="54" height="35">
									<input type="checkbox" />
									全选
								</td>
								<td width="176">
									商品名称
								</td>
								<td width="106">
									卖家
								</td>
								<td width="71">
									单价
								</td>
								<td width="53">
									数量
								</td>
								<td width="59">
									总积分
								</td>
								<td width="91">
									小计
								</td>
								<td width="83">
									操作
								</td>
							</tr>
							<s:iterator value="shoppingCartList">
								<tr>
									<td height="37">
										<input type="checkbox" />
									</td>
									<td>
										<a
											href="product!simpleProduct.do?id=<s:property value="product.id"/>">
											<s:property value="product.name" /> </a>
									</td>
									<td>
										<a href=""> <s:property value="seller.shopName" /> </a>
									</td>
									<td>
										<s:property value="product.price" />
									</td>
									<td>
										<s:property value="productNum" />
									</td>
									<td>
										<s:property value="totalScore" />
									</td>
									<td>
										<s:property value="allPrice" />
									</td>
									<td>
										<a
											href="userCenter!deleteShoppingCart.do?id=<s:property value="id"/>">删除</a>
									</td>
								</tr>
							</s:iterator>
							<tr>
								<td colspan="8">
									<hr />
								</td>
							</tr>
							<tr>
								<td colspan="8" align="right" class="money_text">
									合计:1000元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								</td>
							</tr>
							<tr>
								<td colspan="8">
									&nbsp;

								</td>
							</tr>
							<tr>
								<td colspan="8" align="right">
									<input type="submit" value="" id="gwc_pay_image" />
									&nbsp;&nbsp;
								</td>
							</tr>
							<tr>
								<td height="19" colspan="8">
									&nbsp;

								</td>
							</tr>
						</table>

					</div>

				</div>
			</div>
			<!-- footer尾部 -->
			<%@ include file="/WEB-INF/common/footer/footer.jsp"%>
		</div>
	</body>
</html>